3.296 \(\int \frac{x^6}{\left (d+e x^2\right ) \left (a+b x^2+c x^4\right )} \, dx\)

Optimal. Leaf size=323 \[ \frac{\left (-\frac{2 a^2 c e-a b^2 e-3 a b c d+b^3 d}{\sqrt{b^2-4 a c}}-a b e-a c d+b^2 d\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b-\sqrt{b^2-4 a c}}}\right )}{\sqrt{2} c^{3/2} \sqrt{b-\sqrt{b^2-4 a c}} \left (a e^2-b d e+c d^2\right )}+\frac{\left (\frac{2 a^2 c e-a b^2 e-3 a b c d+b^3 d}{\sqrt{b^2-4 a c}}-a b e-a c d+b^2 d\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{\sqrt{b^2-4 a c}+b}}\right )}{\sqrt{2} c^{3/2} \sqrt{\sqrt{b^2-4 a c}+b} \left (a e^2-b d e+c d^2\right )}-\frac{d^{5/2} \tan ^{-1}\left (\frac{\sqrt{e} x}{\sqrt{d}}\right )}{e^{3/2} \left (a e^2-b d e+c d^2\right )}+\frac{x}{c e} \]

[Out]

x/(c*e) + ((b^2*d - a*c*d - a*b*e - (b^3*d - 3*a*b*c*d - a*b^2*e + 2*a^2*c*e)/Sq
rt[b^2 - 4*a*c])*ArcTan[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b - Sqrt[b^2 - 4*a*c]]])/(Sqrt[
2]*c^(3/2)*Sqrt[b - Sqrt[b^2 - 4*a*c]]*(c*d^2 - b*d*e + a*e^2)) + ((b^2*d - a*c*
d - a*b*e + (b^3*d - 3*a*b*c*d - a*b^2*e + 2*a^2*c*e)/Sqrt[b^2 - 4*a*c])*ArcTan[
(Sqrt[2]*Sqrt[c]*x)/Sqrt[b + Sqrt[b^2 - 4*a*c]]])/(Sqrt[2]*c^(3/2)*Sqrt[b + Sqrt
[b^2 - 4*a*c]]*(c*d^2 - b*d*e + a*e^2)) - (d^(5/2)*ArcTan[(Sqrt[e]*x)/Sqrt[d]])/
(e^(3/2)*(c*d^2 - b*d*e + a*e^2))

_______________________________________________________________________________________

Rubi [A]  time = 3.296, antiderivative size = 323, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 3, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.111 \[ \frac{\left (-\frac{2 a^2 c e-a b^2 e-3 a b c d+b^3 d}{\sqrt{b^2-4 a c}}-a b e-a c d+b^2 d\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b-\sqrt{b^2-4 a c}}}\right )}{\sqrt{2} c^{3/2} \sqrt{b-\sqrt{b^2-4 a c}} \left (a e^2-b d e+c d^2\right )}+\frac{\left (\frac{2 a^2 c e-a b^2 e-3 a b c d+b^3 d}{\sqrt{b^2-4 a c}}-a b e-a c d+b^2 d\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{\sqrt{b^2-4 a c}+b}}\right )}{\sqrt{2} c^{3/2} \sqrt{\sqrt{b^2-4 a c}+b} \left (a e^2-b d e+c d^2\right )}-\frac{d^{5/2} \tan ^{-1}\left (\frac{\sqrt{e} x}{\sqrt{d}}\right )}{e^{3/2} \left (a e^2-b d e+c d^2\right )}+\frac{x}{c e} \]

Antiderivative was successfully verified.

[In]  Int[x^6/((d + e*x^2)*(a + b*x^2 + c*x^4)),x]

[Out]

x/(c*e) + ((b^2*d - a*c*d - a*b*e - (b^3*d - 3*a*b*c*d - a*b^2*e + 2*a^2*c*e)/Sq
rt[b^2 - 4*a*c])*ArcTan[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b - Sqrt[b^2 - 4*a*c]]])/(Sqrt[
2]*c^(3/2)*Sqrt[b - Sqrt[b^2 - 4*a*c]]*(c*d^2 - b*d*e + a*e^2)) + ((b^2*d - a*c*
d - a*b*e + (b^3*d - 3*a*b*c*d - a*b^2*e + 2*a^2*c*e)/Sqrt[b^2 - 4*a*c])*ArcTan[
(Sqrt[2]*Sqrt[c]*x)/Sqrt[b + Sqrt[b^2 - 4*a*c]]])/(Sqrt[2]*c^(3/2)*Sqrt[b + Sqrt
[b^2 - 4*a*c]]*(c*d^2 - b*d*e + a*e^2)) - (d^(5/2)*ArcTan[(Sqrt[e]*x)/Sqrt[d]])/
(e^(3/2)*(c*d^2 - b*d*e + a*e^2))

_______________________________________________________________________________________

Rubi in Sympy [F]  time = 0., size = 0, normalized size = 0. \[ - \frac{d^{\frac{5}{2}} \operatorname{atan}{\left (\frac{\sqrt{e} x}{\sqrt{d}} \right )}}{e^{\frac{3}{2}} \left (a e^{2} - b d e + c d^{2}\right )} + \frac{\int \frac{1}{c}\, dx}{e} + \frac{\sqrt{2} \left (2 a c \left (a e - b d\right ) + b \left (- a b e - a c d + b^{2} d\right ) + \sqrt{- 4 a c + b^{2}} \left (- a b e - a c d + b^{2} d\right )\right ) \operatorname{atan}{\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b + \sqrt{- 4 a c + b^{2}}}} \right )}}{2 c^{\frac{3}{2}} \sqrt{b + \sqrt{- 4 a c + b^{2}}} \sqrt{- 4 a c + b^{2}} \left (a e^{2} - b d e + c d^{2}\right )} - \frac{\sqrt{2} \left (2 a c \left (a e - b d\right ) + b \left (- a b e - a c d + b^{2} d\right ) - \sqrt{- 4 a c + b^{2}} \left (- a b e - a c d + b^{2} d\right )\right ) \operatorname{atan}{\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b - \sqrt{- 4 a c + b^{2}}}} \right )}}{2 c^{\frac{3}{2}} \sqrt{b - \sqrt{- 4 a c + b^{2}}} \sqrt{- 4 a c + b^{2}} \left (a e^{2} - b d e + c d^{2}\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(x**6/(e*x**2+d)/(c*x**4+b*x**2+a),x)

[Out]

-d**(5/2)*atan(sqrt(e)*x/sqrt(d))/(e**(3/2)*(a*e**2 - b*d*e + c*d**2)) + Integra
l(1/c, x)/e + sqrt(2)*(2*a*c*(a*e - b*d) + b*(-a*b*e - a*c*d + b**2*d) + sqrt(-4
*a*c + b**2)*(-a*b*e - a*c*d + b**2*d))*atan(sqrt(2)*sqrt(c)*x/sqrt(b + sqrt(-4*
a*c + b**2)))/(2*c**(3/2)*sqrt(b + sqrt(-4*a*c + b**2))*sqrt(-4*a*c + b**2)*(a*e
**2 - b*d*e + c*d**2)) - sqrt(2)*(2*a*c*(a*e - b*d) + b*(-a*b*e - a*c*d + b**2*d
) - sqrt(-4*a*c + b**2)*(-a*b*e - a*c*d + b**2*d))*atan(sqrt(2)*sqrt(c)*x/sqrt(b
 - sqrt(-4*a*c + b**2)))/(2*c**(3/2)*sqrt(b - sqrt(-4*a*c + b**2))*sqrt(-4*a*c +
 b**2)*(a*e**2 - b*d*e + c*d**2))

_______________________________________________________________________________________

Mathematica [A]  time = 0.946898, size = 385, normalized size = 1.19 \[ \frac{\left (-b^2 \left (d \sqrt{b^2-4 a c}+a e\right )+a b \left (e \sqrt{b^2-4 a c}-3 c d\right )+a c \left (d \sqrt{b^2-4 a c}+2 a e\right )+b^3 d\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b-\sqrt{b^2-4 a c}}}\right )}{\sqrt{2} c^{3/2} \sqrt{b^2-4 a c} \sqrt{b-\sqrt{b^2-4 a c}} \left (e (b d-a e)-c d^2\right )}+\frac{\left (b^2 \left (d \sqrt{b^2-4 a c}-a e\right )-a b \left (e \sqrt{b^2-4 a c}+3 c d\right )+a c \left (2 a e-d \sqrt{b^2-4 a c}\right )+b^3 d\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{\sqrt{b^2-4 a c}+b}}\right )}{\sqrt{2} c^{3/2} \sqrt{b^2-4 a c} \sqrt{\sqrt{b^2-4 a c}+b} \left (e (a e-b d)+c d^2\right )}-\frac{d^{5/2} \tan ^{-1}\left (\frac{\sqrt{e} x}{\sqrt{d}}\right )}{e^{3/2} \left (a e^2-b d e+c d^2\right )}+\frac{x}{c e} \]

Antiderivative was successfully verified.

[In]  Integrate[x^6/((d + e*x^2)*(a + b*x^2 + c*x^4)),x]

[Out]

x/(c*e) + ((b^3*d - b^2*(Sqrt[b^2 - 4*a*c]*d + a*e) + a*c*(Sqrt[b^2 - 4*a*c]*d +
 2*a*e) + a*b*(-3*c*d + Sqrt[b^2 - 4*a*c]*e))*ArcTan[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b
- Sqrt[b^2 - 4*a*c]]])/(Sqrt[2]*c^(3/2)*Sqrt[b^2 - 4*a*c]*Sqrt[b - Sqrt[b^2 - 4*
a*c]]*(-(c*d^2) + e*(b*d - a*e))) + ((b^3*d + b^2*(Sqrt[b^2 - 4*a*c]*d - a*e) +
a*c*(-(Sqrt[b^2 - 4*a*c]*d) + 2*a*e) - a*b*(3*c*d + Sqrt[b^2 - 4*a*c]*e))*ArcTan
[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b + Sqrt[b^2 - 4*a*c]]])/(Sqrt[2]*c^(3/2)*Sqrt[b^2 - 4
*a*c]*Sqrt[b + Sqrt[b^2 - 4*a*c]]*(c*d^2 + e*(-(b*d) + a*e))) - (d^(5/2)*ArcTan[
(Sqrt[e]*x)/Sqrt[d]])/(e^(3/2)*(c*d^2 - b*d*e + a*e^2))

_______________________________________________________________________________________

Maple [B]  time = 0.042, size = 1098, normalized size = 3.4 \[ \text{result too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(x^6/(e*x^2+d)/(c*x^4+b*x^2+a),x)

[Out]

x/c/e-1/2/(a*e^2-b*d*e+c*d^2)/c*2^(1/2)/((b+(-4*a*c+b^2)^(1/2))*c)^(1/2)*arctan(
c*x*2^(1/2)/((b+(-4*a*c+b^2)^(1/2))*c)^(1/2))*a*b*e-1/2/(a*e^2-b*d*e+c*d^2)*2^(1
/2)/((b+(-4*a*c+b^2)^(1/2))*c)^(1/2)*arctan(c*x*2^(1/2)/((b+(-4*a*c+b^2)^(1/2))*
c)^(1/2))*a*d+1/2/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2))*b^2*d+1/(a*e^2-b*d*e+c*d^2)
/(-4*a*c+b^2)^(1/2)*2^(1/2)/((-b+(-4*a*c+b^2)^(1/2))*c)^(1/2)*arctanh(c*x*2^(1/2
)/((-b+(-4*a*c+b^2)^(1/2))*c)^(1/2))*a^2*e-1/2/(a*e^2-b*d*e+c*d^2)/c/(-4*a*c+b^2
)^(1/2)*2^(1/2)/((-b+(-4*a*c+b^2)^(1/2))*c)^(1/2)*arctanh(c*x*2^(1/2)/((-b+(-4*a
*c+b^2)^(1/2))*c)^(1/2))*a*b^2*e-3/2/(a*e^2-b*d*e+c*d^2)/(-4*a*c+b^2)^(1/2)*2^(1
/2)/((-b+(-4*a*c+b^2)^(1/2))*c)^(1/2)*arctanh(c*x*2^(1/2)/((-b+(-4*a*c+b^2)^(1/2
))*c)^(1/2))*a*b*d+1/2/(a*e^2-b*d*e+c*d^2)/c/(-4*a*c+b^2)^(1/2)*2^(1/2)/((-b+(-4
*a*c+b^2)^(1/2))*c)^(1/2)*arctanh(c*x*2^(1/2)/((-b+(-4*a*c+b^2)^(1/2))*c)^(1/2))
*b^3*d-1/e*d^3/(a*e^2-b*d*e+c*d^2)/(d*e)^(1/2)*arctan(x*e/(d*e)^(1/2))

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x^6/((c*x^4 + b*x^2 + a)*(e*x^2 + d)),x, algorithm="maxima")

[Out]

Exception raised: ValueError

_______________________________________________________________________________________

Fricas [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x^6/((c*x^4 + b*x^2 + a)*(e*x^2 + d)),x, algorithm="fricas")

[Out]

Timed out

_______________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x**6/(e*x**2+d)/(c*x**4+b*x**2+a),x)

[Out]

Timed out

_______________________________________________________________________________________

GIAC/XCAS [F(-2)]  time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: TypeError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x^6/((c*x^4 + b*x^2 + a)*(e*x^2 + d)),x, algorithm="giac")

[Out]

Exception raised: TypeError